<template>
  <div>
    <personai-header></personai-header>
    <div class="center">
      <el-tabs :tab-position="tabPosition">
        <el-tab-pane label="我的订单"><my-order/></el-tab-pane>
        <el-tab-pane label="个人资料"
          ><personal-data></personal-data
        ></el-tab-pane>
        <el-tab-pane label="资金账户">
          <personal-capital></personal-capital>
        </el-tab-pane>
        <el-tab-pane label="收货地址"
          ><personal-address></personal-address
        ></el-tab-pane>
        <el-tab-pane label="消息中心"
          ><personal-news></personal-news
        ></el-tab-pane>
        <el-tab-pane label="账户安全"><account-security /></el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
import PersonaiHeader from "../components/PersonaiHeader.vue";
import PersonalData from "../components/PersonalData.vue";
import PersonalAddress from "../components/PersonalAddress.vue";
import PersonalNews from "../components/PersonalNews.vue";
import PersonalCapital from "@/components/PersonalCapital.vue";
import AccountSecurity from "@/components/AccountSecurity.vue";
import MyOrder from "@/components/MyOrder.vue"
export default {
  components: {
    PersonaiHeader,
    PersonalData,
    PersonalAddress,
    PersonalNews,
    PersonalCapital,
    AccountSecurity,
    AccountSecurity,
    MyOrder,
  },
  data() {
    return {
      tabPosition: "left",
      number: 1,
    };
  },
};
</script>

<style lang="scss" scoped>
.center {
  width: 1200px;
  margin: 30px auto;
  user-select: none;
}
</style>
<style >
.el-tabs__item.is-active {
  color: #ff6e85;
}
.el-tabs__item.is-left:hover {
  color: #ff6e85;
}
.el-tabs__item {
  font-size: 16px;
}
</style>